using Boo.Lang;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

[Serializable]
public class ddload : MonoBehaviour
{
	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024OnLevelWasLoaded_0024296 : GenericGenerator<WaitForSeconds>
	{
		internal ddload _0024self__0024300;

		public _0024OnLevelWasLoaded_0024296(ddload self_)
		{
			_0024self__0024300 = self_;
		}

		public override IEnumerator<WaitForSeconds> GetEnumerator()
		{
			return new _0024(_0024self__0024300);
		}
	}

	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024loadparts_0024301 : GenericGenerator<WaitForSeconds>
	{
		internal ddload _0024self__0024307;

		public _0024loadparts_0024301(ddload self_)
		{
			_0024self__0024307 = self_;
		}

		public override IEnumerator<WaitForSeconds> GetEnumerator()
		{
			return new _0024(_0024self__0024307);
		}
	}

	public string top;

	public int state;

	public int diskstate;

	public int basestate;

	public int chipstate;

	public System.Collections.Generic.List<GameObject> tops;

	public System.Collections.Generic.List<GameObject> plates;

	public System.Collections.Generic.List<GameObject> colliders;

	public System.Collections.Generic.List<GameObject> disks;

	public System.Collections.Generic.List<GameObject> bases;

	private bool[] arena;

	public ddload()
	{
		top = "null";
		state = 1;
		diskstate = 1;
		basestate = 1;
		chipstate = 1;
		tops = new System.Collections.Generic.List<GameObject>();
		plates = new System.Collections.Generic.List<GameObject>();
		colliders = new System.Collections.Generic.List<GameObject>();
		disks = new System.Collections.Generic.List<GameObject>();
		bases = new System.Collections.Generic.List<GameObject>();
		arena = new bool[7];
	}

	public void Awake()
	{
		UnityEngine.Object.DontDestroyOnLoad(gameObject);
		state = PlayerPrefs.GetInt("AttackState");
		diskstate = PlayerPrefs.GetInt("DiskState");
		basestate = PlayerPrefs.GetInt("BaseState");
		chipstate = PlayerPrefs.GetInt("ChipState");
		top = PlayerPrefs.GetString("SelectedTop");
	}

	public IEnumerator OnLevelWasLoaded()
	{
		return new _0024OnLevelWasLoaded_0024296(this).GetEnumerator();
	}

	public IEnumerator loadparts()
	{
		return new _0024loadparts_0024301(this).GetEnumerator();
	}

	public void Main()
	{
	}
}
